//
//  Spiel5ViewController.h
//  Lextra Junior ueb IT
//
//  Created by Dirk Lieder on 30.05.11.
//  Copyright 2011 Phosphon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h> 
#import "SubstitutableDetailViewController.h"
@class SpielCounter;
//___NGUYEN_HUY_SON____
@class WoerterViewController;
//____END_NGUYEN_HUY_SON
@interface Spiel5ViewController : UIViewController <AVAudioPlayerDelegate,SubstitutableDetailViewController>{
    
    
    UILabel *outCountLabel;
    UIButton *resetButton;
    UILabel *frageLabel;
    UIImageView *animView;
    UIButton *gameButton1,*gameButton2,*gameButton3,*gameButton4;
    
    UILabel *richtigLabel,*falschLabel;
	UIImageView *bildView;
    UILabel *frLabel,*deLabel;
    UIButton *playButtonB1,*playButtonB2;
    
    UIView *view1,*view2;
  
    UILabel* label1;
    SpielCounter *spielCounter;

    
    id timer;
    
    @private id Delegate;
    //__NGUYEN_HUY_SON_IPAD_ONLY
    UINavigationBar *navigationBar;
    WoerterViewController* woerView;
    UIButton* buttonNewWord;
    //___END_NGUYEN_HUY
}
@property (nonatomic, retain)IBOutlet UILabel* label1;

@property (nonatomic, retain)IBOutlet UILabel *outCountLabel;
@property (nonatomic, retain)IBOutlet UIButton *resetButton;
@property (nonatomic, retain)IBOutlet UILabel *frageLabel;
@property (nonatomic, retain)IBOutlet UIImageView *animView;
@property (nonatomic, retain)IBOutlet UIButton *gameButton1,*gameButton2,*gameButton3,*gameButton4;

@property (nonatomic, retain)IBOutlet UILabel *richtigLabel;
@property (nonatomic, retain)IBOutlet UIImageView *bildView;
@property (nonatomic, retain)IBOutlet UILabel *frLabel,*deLabel;
@property (nonatomic, retain)IBOutlet UIButton *playButtonB1,*playButtonB2;

@property (nonatomic, retain)IBOutlet UIView *view1,*view2;

@property (nonatomic, retain)IBOutlet SpielCounter *spielCounter;
//__NGUYEN_HUY_SON
@property (nonatomic, retain) IBOutlet UINavigationBar *navigationBar;
//___END_NGUYEN
//______________NGUYEN_HUY_SON______
@property (nonatomic, retain)IBOutlet WoerterViewController* woerView;
@property (nonatomic, retain)IBOutlet UIButton* buttonNewWord;

//____END_NGUYEN_HUY_SON____
- (IBAction) play:(id)sender;
- (IBAction) stop:(id)sender;
- (IBAction) reset:(id)sender;
- (IBAction) game1:(id)sender;
- (IBAction) game2:(id)sender;
- (IBAction) game3:(id)sender;
- (IBAction) game4:(id)sender;


- (IBAction) naechsteswort:(id)sender;


- (void)sstop;
- (void)setDelegatePlud:(id)new_delegate;
- (void)newQuest;
-(NSString*) getWithArtikel:(NSDictionary*)inDic;
- (void) showResult:(Boolean)result;
- (void)stopAndHideCounter;

- (UIImage *)scale:(UIImage *)image toSize:(CGSize)size;

@end
